<?php
/**
 * Output XML Declaration
 * Outputting the XML declaration directly in a PHP file causes problems.
 *
 * @package 	Visi
 * @subpackage 	View Helpers
 * @author 		Luke Visinoni <luke.visinoni@gmail.com>
 * @copyright 	Luke Visinoni <luke.visinoni@gmail.com>
 * @version 	$Id$
 */
class Visi_View_Helper_XmlDeclaration extends Zend_View_Helper_Abstract {

    public function xmlDeclaration($version = '1.0', $encoding = 'UTF-8') {
    
        return "<?xml version=\"{$version}\" encoding=\"{$encoding}\"?>";
    
    }

}